package com.xiaozhen.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * HISTORY
 *
 * @author zhenweisheng
 * @date 2021/9/1 14:29
 * @description:
 */
@Getter
public enum UserStatusEnum {

    DEACTIVATE(1,"停用"),
    NORMAL(0,"正常");

    UserStatusEnum(Integer status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    @EnumValue
    private Integer status;
    private String msg;
}
